package com.etc.ssm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication
//指定扫描的路径
@MapperScan("com.etc.ssm.dao,com.etc.ssm.mapper")
@EnableCaching //允许缓存
public class Bootdemo02SsmApplication {

    public static void main(String[] args) {
        SpringApplication.run(Bootdemo02SsmApplication.class, args);
    }

}
